fix emitted event moveTo bug