Fixed extern function definition for non-root schedules, achieved 120 fps