Better standards-compliant fix for browser.test_sdl_touch that works on Chrome as well.