If you are wanting to hover over an entity your using the completely wrong logic, you should first attack an NPC, then check you are in combat in another state/node and then hover over another NPC.
Think about the logic, I haven't had any issues with the mouse in .27 and I've just re-written my whole agility script to use the new interaction sequences. @Zach did an amazing job props