Fixed firefox click bug