Fixing animation lengths