How do I correctly adjust the motion detection zone?

You can resize the zones by dragging their corners and moving them to the area you would like motion to be detected. Be aware that borders of a motion recording zone trigger an event, not the area contained within them so the border need to be crossed just like a tripwire. Once the border have been crossed, the area within the zone becomes 'live' and is sensitive to motion for that event.