Fix for issue where ClientResourcesFilename preferences is ignored.