Fixing userInteraction bug