Effect of inhomogeneities on streamer propagation: I. Intersection with isolated bubbles and particles