Error with Glyphs.redraw() when multiple fonts are open

If I have 2+ fonts open, running Glyphs.redraw(), it raises this error:

File "GlyphsApp/GlyphsApp/__init__.py", line 1661, in __GSApp_redraw__
objc.error: NSGenericException - The window has been marked as needing another Display Window pass, but it has already had more Display Window passes than there are views in the window.

A snipped for testing:

from vanilla import Window
class A():
	def __init__(self):
		self.w = Window((500, 500), '')
		self.w.open()
		self.w.bind('close', self.remove_callbacks)
		Glyphs.addCallback(self.draw_foreground, DRAWFOREGROUND)
	
	def remove_callbacks(self, sender):
		Glyphs.removeCallback(self.draw_foreground, DRAWFOREGROUND)

	def draw_foreground(self, event1, event2):
		Glyphs.redraw()
A()

I figured I can redraw just the tab, but reporting the error just in case

Are you calling redraw directly in the draw foreground callback? That sounds not right, it will likely get fired a lot of times per second.

Good call! No, apparently just oversimplified too far for this piece