mgraphics fill function behaving strangely on pc

Ted Wiggin's icon

Hi all
I've been using mgraphics to draw simple filled shapes but found that it breaks when used on PC. I've been unable to figure out why this is. Any pointers?

A simple demonstration patch included here, and a shot of what the same shape renders as on mac vs pc

Max Patch
Copy patch and select New From Clipboard in Max.

mac left pc right

Ted Wiggin's icon

Got around to figuring this out -- just had to close the shape. Gave it the first mouse coordinate again before the fill command and they both work fine