Wrong image size on full width or height
Submitted by Roland Peffer
If x + width or y + height matches the maximum screen width or height, always a fullscreen image is returned.
Screen size is 1920 x 1080
setting x = y =0, width 1920 and height 700 returns an image of size 1920 x 1080 instead of 1920 x 720.