fix some animation in delegate demo