When calculating the start and end frames, round to the nearest integer rather than...