Frame limiting fixed using clock_gettime()