Due to recent changes EEVEE crashes when baking light probes. Film checks if the viewport compositor is enabled via DST. In the baking thread this is not initialized and can crash or lead to incorrect results. Fixed by first checking if we are updating the viewport. Pull Request: https://projects.blender.org/blender/blender/pulls/126685