Java awt bug in JVM for Mac