Fix retina detection under OpenJDK