Fixed bug of Setting anchor point