Fixed bug in positioning, occasionally snapping at one of the elements is missing, which is now suppressed.