Fix prevention of clicks