Fixed bug with setting fonts.