If the light is still on when the little switch is in the off position then the door shouldn't be affecting whats going on. I would be pulling the festoon lamp apart and making sure that the switch is mechanically in working order, the off position leads to a piece of plastic so there is no way that the light could be on if that part of the circuit is in working order.