There is no way to fix this, it is a side-effect of how the panel works and fixing that would require rewriting a couple standards, patching every window manager, and drastically changing every panel-like thing to match.
There is no way to fix this, it is a side-effect of how the panel works and fixing that would require rewriting a couple standards, patching every window manager, and drastically changing every panel-like thing to match.