The simple QML based Icon already provides this correctly, but DesktopIcon would not output in the correct location and aspect ratio, and rather draw the image scaled into the entirety of the node rectangle.
This fixes the issue described in https://bugs.kde.org/show_bug.cgi?id=388737