Disappointed with laser head!

Hi,
How could my laser head hit the laser bed and get scratched! How is that possible either physically or based on the software! It shouldn’t exceed a certain point to avoid such accidents!!

Also has anyone got the camera capture to work accurately?