[MSPAINT] Fix divide by zero in drawZoomFrame