pretty sure the on_ callbacks should be in Container, not Rect.