Removed click function when inactive