fix text scaling

See diagrams/diagrams-lib#182.