fixes~

fixes #4438 (Purple Hat disappearing when flipped)