fixed potentially reading out of bounds when doing banked blit to framebuffer