gfx: Don't crash if there is no graphics metadata.