fix to Sprite.distanceToMouse
test