Fix for MG changing scope on GraphicsExtensions.