Installed new door forcing the old one out with a flathead screwdriver and sliding the new one in at an angle until notches snap in. Fixed the problem. There was nothing visibly wrong with the old door but I think the door is designed to be not exactly flat in order to create some spring tension when closed and this tension must have gotten weak over time.