Attempt to fix resource loading problem.