Fix NPE getting fonts from items.