fix setPosition setScale invalid issues