Fixed error with swapping between maps and texture packs