Fixed PlayerAnimation class.