I noticed in a few games especially at start the background colour is the inverse of what the actual hw is showing, ie white instead of black. Sometimes for only short periods.
Charles McDonald's write up of the tilegen says this:
If the bottommost layer is blanked, it is filled with color 0 of palette 0.
I assume this can be some colour other than zero? Or black. Maybe the issue is here