Fix Offline rendering