board renders after move instead of before