Patches the platform support for "touch".  Closes #1007.