Fix relative layouts