Improved compatibility with touch-enabled WebKit.