Fixed bug, so .delegate() works event-driven-ly