Fix Display.setParent() on Java 7 by forcing CALayer usage as
classic NSView method is no long available.