fixing the last commit with addition of pixel_to_tile in Map class