Added in global MainGameWindow and got it working