fix skeleton/main.cpp nextFrame call