Fix logic in movement.js