Corrected initial traversal index

Initial index was wrong when multiple viewports are present.