Fixed layout offset bug's bug