Html5 canvas draw triangle with mouse