Added missing beginPath()