Fixed fps limiter to actually do what it's supposed to.