Calculate tap frames in the keyWindow's coordinates. Fix bug for NAN tap points