Allow setting frame pixel sizes from frame parameters (Bug#21415)