Fix resource overriding when editor not actually used