For a brief moment when switching to a maximized screen full area, the screen context is missing its `object` it seems, until the context is properly set up again. Prevent the 'Context' object has no attribute 'object' by just checking if it is available Pull Request: https://projects.blender.org/blender/blender/pulls/125905