Fixed crash in boardcomponent