Add checks if adjustments exist when stopping animation

Necessary when dispose() is called before the stop method when destroying
the objects.