theme fix for safari private mode