Merge pull request #8487 from leethomas/feature/osx-relative-window-levels