Visibility testing; bit hacky at present.