change opaque to opaqueValue (yosemite defines it in NSView)