Removed maxTextWidth parameter from the text drawing part