window in scenegraph example is resizable for the very first time