Closed #3371: modify setPosition and setAnchorPoint's usage for better performance.

Modify setPosition and setAnchorPoint's usage for better performance.