game engine stage_init added to redraw stage on resize, code inside game_init refactored