tweeked setKeyFrameTimeNoUpdate so it doesn't use C++11 functions