Fixed Zoom bug. No longer uses undefined behaviour.