fix text rendering with line placement on corners - refs #2364