Plugged the holes in the obstacles

This was not as simple as I had hoped >.< It seems to work, but more
testing is needed.