Fix bug that occurs with mobile version of map page