fix(move): move current element only if not selected
fix(layout): round mid point

This fixes various connection glitches that may occur because of
floating point (x, y) coordinates.