I think from the writer's perspective, that given the film's title, the movie has to have (1) a dungeon and (2) a dragon, in order to meet expectations. If you're a screenwriter who hasn't a great amount of familiarity with fantasy, the "villain has a magic artifact which controls a dragon"...