Fixes pos:relative error causing bad dragging behaviour
externalizes login