override PC256 imagemode when falling back to AGG (#4704)