Fixed rounding error with frame index selection.
Merge pull request #4 from supremefist/master

Fixed rounding error with frame index selection.