Changed custom drawing to occur after children have been drawn