clear persistent effects when it's display mode is removed