Fixed MagicText error when fontfamily is not set.