patchbay: fix fragment shader on cocoa