Fix portal rendering