2009 Toyota Sienna - Lights acting up

When the left power sliding door opens, the interior lights start to turn on, but don’t usually stay on after the door is open (although once in a while they do). When the right power sliding door opens, the interior lights turn on and stay on like they are supposed to. Is there a relay or something simple that may fix this problem?

Thanks