Old annoyance in Blender; zooming in very far makes scaling/rotate around invisible pivot going bezerk. The easy fix was just enforcing floats in integer math.