Try using this for our screenshot tests: https://github.com/pygfx/pygfx/issues/684#issuecomment-2012833611