gui: block the zoom at 0 when passing through it

When the user presses Shift and change zoom, check whether one of the image would go from downscaling to upscaling.
If so, change the zoom level to just 0 (for this image). This allows to easily fine zoom to get no aliasing.