Fixed visibility bug