I'm trying to replace an old light fixture in my bathroom with a new one but it is not working correctly. There are two switches, one for the light and one for a vent/light combo on the ceiling. Attached a picture of the outlet box. I did not take a picture of the configuration of the old fixture wire hook ups. I've tried every possible configuration for the new wires. Hooking it up normally (black to black, white to white), the light fixture will stay on when the power is turned on at the breaker and the switch does not turn it off. The configuration in the picture allows me to use the switch that should be just for the vent but seems to be on the same line because it works weakly. All other configurations do nothing.
Some other info that might be relevant is that I see red and white wires coming from both switches, but don't know how that comes in to play at the box.
Any suggestions?