Making sure dragged notes always end up on top