Fixed delta time calculation bug on linux.