Bug fix in ViewerInstance::getFrameRange