[#8] Fix default viewport calculation and exclude 0 values