Proper Planar tool usage

How can I avoid the planar tool going out of whack at the corners?

Edit: I see it works better with a higher resolution

This should help

and maybe this: