From Patches to Objects: Exploiting Spatial Reasoning for Better Visual Representations