isVisible() only checking parents and not actual object