Long ranged Kamui also isn't bypassing Yata because the latter acts as an invisible wall. It would be like saying if a wall were to be placed between Kakashi and his opponent, then Kakashi would still be able to Kamui past a wall and to the opponent, which clearly won't be the case since there is a blockage in the way. In the case of the Yata, it's an inter-dimensional blockage. Kamui has to go through Yata first before reaching Itachi, and that won't happen when the Yata can specifically repel those kinds of jutsus. In other words, the Yata Mirror is an astral repellant.