Feature/test fix transparent corner case for visibility detection