Don't autoresize CALayer's when using the Java 7 workaround