Fix showmap action bug