On the benefits of pixel-based hierarchical policies for task generalization