fixed possible client crash on too many map images