Fixed crash when using flux lasers