I haven't had this exact problem, but we have had our door pop open on the road because the pin really doesn't hold it too well.
I put in some magnets to hold the door closed:
The magnet is a
Extra strong magnetic catch (Amazon)
You could put one on the closed position and one on in the open position to fix your door.