Grounding spatial awareness in sensorimotor representations