Fix inconsistency batch rendering for overlapped images#

Fix a bug when rendering unaligned sliced overlapped images or AMR which could produce inconsistent slice between multiple render calls.