Allows the user to disable the window dragging