setVisible perfomance optimization