First I naturally thought what was hanging off was a hinge without having any other interpretation, but after reading your question, I realized that a door indeed can be the subject. Now I think these two interpretations are equally possible. (Well, at least on the point of grammar. It would depend on the reader's impression of how badly the toilet is run-down, which is received from the context.)