Fix square target pos when board orientation is black