NSFloatingWindowLevel(3) is below kCGDockWindowLevel(20), so windows with WS_EX_TOPMOST show behind the macOS dock. WS_EX_TOPMOST should have a higher window level so that it's not behind the macOS dock. This is similar to WS_EX_TOPMOST windows on Windows should show on top of the taskbar.