Fix visibility of view swithcer