Fix tap-too-soon crash bug.