Well, I couldn't get batteries today and I probably won't get any until the ones I have run out, so I found a temporary solution.
I tried taping the batteries down to hold them in, but that still wouldn't work, so I taped a lot of tiny pieces of tape over the little holes on the battery door...