fix tap selection in the canvas renderer