Wait for animation complete to update x/yMax.