Avoided windows being made visible when using toBehind on OSX.
Another attempt at fixing win32 plugin key hook loops.