USB 3 will work even is there is a few cm of wiring on 2 layer board without any impedance matching. Although in such case it will become a radio transmitter killing bluetooth, wifi and wireless mouses nearby. So without giving specifics of that board, it's hard to say why it does not work.