fix a problem when /video/position == 1.0