Fix board bounds issue.