Fix to opegl time delta