Fixes click events