Fixed data extraction routine in graphics mode class