Fix: opening the same resource multiple times in a row enabled