Check if isPointInStroke() exists (Firefox).