If you point cursor at minion and click right mouse button, you will slap it. If you point it at something in gui, for example room, defence or minion, and click rmb, the game will show it on the map by moving camera to it.
But if a minion was under the gui itself when you click rmb at it, then the game does both things: slaps that poor minion and moves the camera to show you the object you want to see.
Slapping probably should be disabled when mouse cursor points at something in gui.
Customer support service by UserEcho