Fix bug where zooming will cause moving object's target to mess up