Fixed a bug in bg.ifft2.