fixing hazard break glitch (when no enemy)