Using CGRectIsEmpty to check if the rectangle has no width and height.