Don't use boost numeric_cast, use MS own function to skip frames, make same behavior as on linux version