Canvasrenderer function call for clicking the searchbar added