small bugfix demapp.sys.window