Fix movement problems after/during pause