Fixed bug when moving the map horizontally and added category to share