Fixed bug, client was always one frame behind