Save/restore text color when inserting an image