Fixed bug with animations of sub-boxes being interrupted by a higher-level animation