Fix for more smooth moves.