fixed problem where squarify method returned layout rects with NaNs due to containing rect having 0 width and/or height