Fix #1335. Add in touch grab/ungrab.