finally solved that bug, just forgot to use beginPath() and closePath()