fixed train coupler bug (when heading left)