Shapestim size and _vertices_px don't match

I got similar issues with updating ventrices, but then with clickable simuli that need to be drawn from .setAutoDraw(False) to .setAutoDraw(True). It seems that ._updateVertices is not always doing their job when drawing polygons. I fixed it by explicitly updating size and ventrices in the ‘Each Frame’ tab once the condition is met, using stim._needVertexUpdate = True.
See also: