Added handling of boxes that shouldn't animate