Fix bug with window focusing + clicking
Fix bug with dom events not being removed on unmount