Fixed NPE when setting font family