Isometric mouse aim - how to make it precise?

Yes you get good results for flat environments.
But moment you aim at door frame (or tree), your character will get confused.
So solution is either managing such spots to not get in line trace results.
Or use trig to calculate coordinates at feet/pelvis/head height of character.