Fix render on page reload