- Fixed visibility checking