Fix resizing constraints for the animation panel.