Fix to ensure determineIndex() selects the correct frame when time is at min or max
Fix to ensure determineIndex() selects the correct frame when time is at min or max

reven86/GamePlay,reven86/GamePlay,reven86/GamePlay,reven86/GamePlay,reven86/GamePlay