fixed a few bugs in remove_font_transforms filter