Fixes #11338: Layers do not teleport to the bottom of the list if dragged onto the headers
Added an additional check if the drop coordinate Y is <0 or not. If it is <0, the drop is cancelled.
NOTE: Requesting maintainers to let me know if the positioning of the if
condition can be improved