Performance fixes in Interval and GameLoop