Fix and test visible view management