Small fixes to font rendering in ui