Does it happening have any correlation to when the laptop is running on battery and mains isolated vs not?
Laptop can be a bit weird when it comes to earthing, which may mess up triggering.
Also, if your laptop is charging vs not it may have an effect as well.