I'd disagree... look at flying insects. Occasionally, a bee flies into my house through an open window. It often tries to fly through closed windows afterwards, suggesting that it is unable to perceive a transparent solid.
Also, there's the cliched moth flying into a candle/lightbulb. Birds and bats, however, don't do that.
Speaking of bats -- it might be interesting to see similar experiments studying bats' reasoning abilities. Does "seeing" the world through SONAR make them reason differently from birds (or us)?