fix for smalle display resolutions, eg dragging window to 0,0 size

Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>