that's one thing that's always bugged me about killer robots in media (terminators, cylons, whatever). After a preliminary test firing of any handheld weapon, the robot should be able to adjust for that weapons' exact recoil pattern and start bullseyeing any/every target.
Most of the time those movies would be much much shorter without this form of plot armor, but it appears we're following the same practice in building gun-dogs. Rather than sense the first shot and (re)calibrate from there, or even sense a laser sight, its just pre-programmed body movement.