Fix for repeated random taps eventually crashing.

Change-Id: I8f4de053fa53a66024f139ac42b7eda898df7362