I don’t think it was a coincidence. I think they read up on what it means for Wanda to be a nexus being, and read that storyline about Lore. This film was Avengers Disassembled, with aspects of Lore deliberately given to Wanda to make her a much greater threat. A multiversal threat.