Make ui.main's game variable non global