Fix `undefined` on absolute resources