GraphicsResource requires GraphicsDeviceManager

Do not attempt to access `GraphicsResource` instances without a valid `GraphicsDeviceManager`.

Fixes issue #2805