kind of fix the floating point error with the mouse wheel zoom