fix draw scheduling to get a much more precise frame rate