forgot to delay layout on drawing in active tab