Bug fix on continue movement detection