Fix timeout still firing when click occurs