Fixed achievements not triggering correctly