fix getting touch position