Small fix for the animation engine

Fixes problems with the cut off of the first tab content.