added a margin value for is_visible_from, seems to fix most null-adjacents errors