Think mask works like a debounce, so if two very similar things happen together they get counted as one. I could be very wrong about this though.