Bug/font picker not working with some fonts

Fixed issue where some fonts were not having their CSS class names constructed properly. @stulees