fix text path rendering