getting debug draw on the canvas