What I meant was, besides one body being behind the door, he didn't know who else was behind the door, or beyond the criminal. Know your target, and whats in front and behind it. Don't get me wrong, I am glad it turned out all right, I was just trying to provide another aspect.
My guess is that even if he couldn't see through the glass he had a good idea what was on the other side of the door, I certainly do around my home. Unless he was shooting from the hip (literally) then he was shooting at a downward angle to hit him in the hip. This means that the round likely never left the property.
Anyone standing behind him would have been a part of the burglary team and as such he would have been subject to deadly force. In a drive by shooting the other occupants may not have any fore knowledge of the shooting (unlikely but possible). It would be an unwise decision to bail out of a car once the shooting starts. If you go up to a house and your partner starts to break in and you don't run, or better yet stop him, then you are part of the problem and subject to the same defensive actions and prosecutions as the leader.