Only children that are visible should be clickable

I've added a check to make sure a child is visible before considering it something that should be able to interact with.