Drag and drop not working correctly after updating to 4.18

In 4.17 the behaviour was normal. It happens in a clean project as well.