− Add canvas support check
− Move _renderText to its own function