Fixed a mysterious bug with ancient dark magic