Changed the WindowManager Factory to add a Game instance if we want to use the BasicWindowManager.