Fix incorrect animations during treatment.

Fix #1640
Merge branch 'master' of https://github.com/KoffeinFlummi/AGM