Alec Baldwin was rehearsing a scene involving pointing a gun at the camera, director says