If you don't want your enemy to move while shooting, remove "Find path" from that event. Save player's position in a pair of variables. When player is no longer in line-of-sight, then find path to its last saved position.
Another option is to set pathfinding speed to 0 when player is in LOS, and reset to normal speed when not in LOS.