Made the from_value code way more efficient. Added clipping rectangles
so that when a child is hidden by it's parent, it can't be clicked.