[ModernApp|ModernWeb] Fix incorrect ref navigation