Rather than scrap what they had done, they rebranded the film as Doctor Mordrid and made changes to the plot to avoid the copyright problems with Doctor Strange.
Rather than abandoning their project, they chose to rename it "Doctor Mordrid" and modify the storyline to avoid legal conflicts with "Doctor Strange."