Constrain animations to configured dimensions