bugfix for animat position