Improvements regarding mouse click rendering in canvasrenderer