bug fixed:is_in_map_after_move sometime fail on moving right if the map is not square