take animation settings into account