x11: Fixes Min[Width|Height] and Max[Width|Height] of top level windows.