It negates it because she is no threat to him inside the closet.
He can go stand right in front of the closet and shoot her.
The only reason to stand way off to the side of the closet is because you are afraid the person inside might shoot you if you stand in front.
No it isn't, not if it's premeditated and you want to make it look like you're shooting at an intruder.