fix crash on startup when creating a second window Display after a
destroy in the same app