Basic widget painting, testing depth sorting.