Resizing no longer resets the drawingmode to Line
Tweak demo window