Fix simulated touch event in tests