The mainsheet goes to the base of the mast and back again? How exactly does that work?
I don't know, because I don't know your boat, but I suspect something's mis-rigged. I suspect that point where that block's attached that you have labeled "mainsheet" is actually the boom vang attachment point. That set of four bails to which it's currently attached doesn't look strong enough for a vang, to me.