Fixed bug with board offset