fixed problem with positions not being rewritten correctly when shifting upsampled stuff