Fix callbacks not working when Load() gets inlined

Also applies to Unload() and ProcessTick().