Added a Firefox-specific workaround for issues related to rotating text, see #16.