cocoa: super rudimentary support for parented windows