Fix animation layout