Fixes a resource loading issue.