I've been capturing pictures through the window that are half indoors, half outdoors. This makes the color correction algorithm stop trying to get rid of the orange.
If you use a camera app like Halide, then you can manually turn off the Automatica white balance correction that assumes that this scene lighting is impossible.