buggy text drawing