Fixed isObstructed issue