It's an OS behaviour, if you don't drag it near the centre of the folder it'll assume you are trying to place the icon on the folder's spot, hence nudging it. Placing the icon directly over the folder will place it inside, lol
This is something smart that Google has done that Apple hasn't
This is something smart that Google has done that Apple hasn't