Fixed double-click detection

It wasn't waiting the needed number of frames for the second click (this
is what I get for developing on a slower computer)!