cdgraphics: do not rely on get_buffer() initializing the frame.