PlayerAnimation class fix