Fixed reset of portal count if map is moved