Pointer and snap not aligned

The pointer and snap point don’t aligne, this shows up when i draw a line and want to attache it to another line or point. It also shows up when i try to connect lines i dont know which line the pointer is attached to.