Fixed a bug where axes would not be fully drawn if JFrame was set to be resizable.