Clip image to visible size for edge emulation purposes.