only show overlay on visible elements