Fixed an issue where global event pool could be null

Since removeGlobalDOMEvent would assign `queue` to `null`

Fixed #141