Fixing bad timing between server and client.