This is a hack, do not merge this.

Basically snapping doesn't work well with big elements, or elements of
elements.