Dome light issues

I think it's getting power thru the door switch full time(bad door switch), and grounding it completes the circuit?