Fixed board reference in the TagBoard resize function