Allow click functions to work