Ensure we only show visible children

Fix #11, #7