Hold onto graphics context handles.