TransformControls: Check if mouse is hovering gizmo onPointerUp. Fixes #3915.
Code clean up.