Fixed an issue with the offline layers fix.