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.
They chose to change the title from their original project to "Doctor Mordrid" and altered the storyline to avoid legal problems with the existing character "Doctor Strange."