listings are now floats. set the float options. listing dont get interrupted by tikz diagram