To whoever suggested the captain is half to blame.....you've clearly never parked an airliner.
One cannot look out the side window AND watch the marshaller at the same time. If you take your eye of him, you're going to get yourself into trouble.
You can have a good idea before pulling onto stand if anything is amiss, but the ultimate responsibility is with the marshaling team once under their charge.