pointInsideFrustum not working correctly
I may have fixed the problem. It seems that no matter how long you delay, it doesn't initialize until the first bit of code has been executed. I made a script controller that runs some dummy code to initialize on the first logic tick, and then delayed my main script by a few ticks and things work now.