added workaround for broken font bounding boxes