Fixed various font metrics and rendering bugs