Small fix to fix stair detection in tryMove