Fix types in SetPictureSize