touchring: prevent touchring to remain visible when using multi/virtual keyboard + fix touch grabbing issue when window is used. Closes #1335