Fix main thread compositing on mac.

The effect is hardcoded so for now there's a runtime assert.

--HG--
extra : rebase_source : 1c8a462750f52bc6bcb24ec25d3ab773fa968238