I am to draw with mouse movements in canvas but don\'t know why is this not working ? The pointer events coordinates are showing in console.log but the line is not rende