Fix incorrect display when loading content