screen zooms randomly on iMac
Check if you enabled trackpad smart zoom in System Preferences


Got to system Preferences Apple Icon > System Preferences > Trackpad
Click Scroll &amp; Zoom tab
Check the zoom options and uncheck Smart Zoom