fixed obstacle drawing