Made changes to delta-time implementation.