Move 2d utils to utils2d module
Share dragging logic for both shapes and walls