Bug 959118 - Dump layer tree

Reconstuct the layer tree by the layer list and highlight the specific
layer image.