Fix onMoved.