Making icons do what they should in the map