Improved program behaviour on dragging objects beyond the level borders