Fixed NPE when setting font size