Fixed variable name bug in get_tile_at_position.