Fix reconfiguring the X11 sub-window every draw.
Simplify window recreation.