Fixed the issue where the laser would not disappear in some cases