Automatically aligning, aiming or focusing the laser beam