allow to create with an existing engine (title screen etc.), added onResize