window.ui: Use pixels as a unit for max sidebar width
Use pixels instead of scaled pixels as a unit for max sidebar width so that it doesn't hide the space for clicking and closing the sidebar.
Fixes: #3133 (moved)
Before:
After:
Edited by Khalid Abu Shawarib