Before your code has a chance to run the digital I/O pins are inputs without pullups thus can easily float to logic levels. I would recommend you add pull-up or pull-down resistors to those pins that fire lasers (to whichever logic level does NOT fire the laser, of course).