When there is an error, ensure the content is still visible