Fix small bug in move action.