In BIAB go to menu Opt>Midi/Audio Driver setup. The latency will be displayed - probably around 500ms. This means that your midi is delayed by that much due to driver latency.
You need to consider using a faster midi driver.
I guess if you wait long enough, some things go right.