minor modification to sampleshheToTrackHub to correct viewLimits