differentiate frame size and surface/image size