Modified GraphicsManager constructor.