Diorama `close` unbinds all events before calling `onClose`, this is a
workaround