Fixed NIR images being flipped and height of VIS images