temporary fix to make PageState#process_glyph_displacement work correctly