A custom icon is replaced with the default icon in the LightWeight renderMode. For the time being the custom icon can be forced by using the OnClientShow event of the control:
function OnClientShow(sender)
{
sender.set_iconUrl(sender.get_iconUrl());
}