This seems to happen in instances where the background is bright at the top but darker at the bottom. The algorithm prioritizes the darker shades.
This seems to happen in instances where the background is bright at the top but darker at the bottom. The algorithm prioritizes the darker shades.