Readjust the Duration hack to use the last frame playms.