it may be that the error occurs when sourceSize.width==0 XOR sourceSize.height==0, which happens because they are not updated at exactly the same time. This also happens when we have a definition like width: visible ? units.gu(2) : 0, and the same for height.
it may be that the error occurs when sourceSize.width==0 XOR sourceSize. height= =0, which happens because they are not updated at exactly the same time. This also happens when we have a definition like width: visible ? units.gu(2) : 0, and the same for height.