A painting that had been hung upside down in a museum was finally flipped upright after going unnoticed for over a month.