The "Candyman" director will take on a major superhero film.