fix bug restoring scene
fix bug when counting obstructions handled