Fix layout jumping on front page layout loading