Problem solved in a weird way. Fighting them in close combat with a weapon somehow fixed the issue, after this the spell would be cast properly. If i had not fought in close combat, the spell would never have been launched(at the point i thought my mouse was broken).
Once it properly aimed for the two monster specified, it worked for all similar monsters. All boars and wasps/bees can be attacked normally.