Fix empty image rendering
The empty image can be rendered between two image load or during script execution, but in such cases the empty image rendering matrix is the one computed for the image loaded.
Fix it by not touching the viewport matrix for empty image.