Technically this does a slight change to the check in wm_window.c: The assert now also allows zero width/height rectangles.