fixed a bug that reset the check box of setting the center to the origin wrongly
removed the feature that update every 5 times when mouse dragged