Check boundaries when updating wireless pixel

Fixes IndexOutOfBounds exception when attempting to create a BitSubset with a length larger than actual.