Adding constructor without model and fixing size calculation bug when tree items have no icon set