The code tried to retrieve the bounds from the data synced back to the original object at the end of depsgraph evaluation. That data is only set on original objects. Instead just retrieve the bounds directly from the evaluated object. Also make two variables const now that it's possible. Pull Request: https://projects.blender.org/blender/blender/pulls/119674