It can happen that the attacked unit is already dead when the gui gets tehthe notification. In that case it fails to get its position.
As a fix the location is already determined in the simulation and send along with the notification to the gui.
(This also looks way cleaner in general)