Fix broken item view on direct load on Safari