Prevent an exception when the magnification is <= 0