fix last minute direction change on diagonal move stop