[Bug 371566] Fonts overlapping when switching viewports