Uh, wrong. Burglary is an entering done without authority of the property owner. It is presumed that, without such authority, the burglar is present against the implied wishes of the property owner. In other words, the burglar's presence is forced upon an unwilling property owner.
But I'm sure you knew that; you were just flinging crap.
If the law were written according to libertarian theory, you would be correct. But the law isn't.
The law distinguishes between burglary and robbery by using force or threat of force as the distinguisher. If I were to sneak into your house and steal, that would be burglary. If I were to hold you at gunpoint and steal, that would be robbery.
In many places, the law does not allow you employ deadly force in defense of your property, but only in defense of a life.