Fix crash on Windows w/GPU upon close Color Grading UI.