Fixed the resolution uniform type in the SampleFilter (thanks @VictoryRice #1137)