Fix resource loading path