Fixed mix up between x and y coordinates in map bounds