Bug in overlap setting in layout