Fix order of get_all_pixels.  Fix occasional crash in Dragons.