Fixed a crash when you get an achievement