Fixing obstacles display bug.