Moved the move callback in raf()