Fix issue accessing GraphicsDevice in MonoGame