Prevented duplicate event binding.