You can hold Shift when trying to click on a rat, and release it if you are successful, or right click if you get a circle indicator on the ground (or keep clicking a few times, if you don't mind some extra movement once you do manage to click on it).

I don't know if that is a known issue. Was your character under any status effects?