Trying to set proper visibility constraints