That is a typical problem with some controllers trying to perform tool radius comp.
You are likely aware that you will never get those square corners with your tool anyway, so my advice is this: always radius every sharp corner. Even if it is just a tiny radius it may help. If you use your actual tool radius, it wouldn't hurt either, and the results would be identical.
This is theoretical. I do not have your controller to say one way or the other