Fix NPN_ConvertPoint on OS X, make it work with e10s. Patch from David Parks.