Make sure obstacles are drawn with no transparency