Fixed client-side prediction a bit, but still needs work.