Some lame-ass optimizations to JNI, which can make SDL crash