[PD] Destroying a GEM window causes Pd crash