Fixed little bug in animation