debug text rendering tweaks