I couldn'see anything wrong with the project, this does actually look like a bug. You probably should post it in the issue tracker
github.com/Scirra/Construct-bugs/issues
I thought that maybe a ray shoots off randomly somewhere or that the order of polygon points gets messed up somehow, but since drawing the outline works perfectly that can't be it.