fixed a bug in PrettyFig where imagesc plots caused it to break