I can't see your picture well since it is really small as an attachment on CB, but If I would have to hazard a guess in my experience the motor is getting power regardless of the sensor. Maybe the difference is the two wire switch? If you can post a larger picture i can examine it more.
It looks like from the pic the - in from the sensor is going to the #2 pin on the relay?
Here is a pic of what I use for wiring:
https://www.dropbox.com/scl/fi/kmp2h...=cky9tt83&dl=1
Green wire is negative in from the sensor.
Top wires are 12v in from switch, and sensor. bottom wires are to the motor.
white wire negative to sensor. red wire positive to sensor.
Hope that helps.