Use data, not just id
Fixed #zoomedto, closes #280