Fix broken node change detection

Currently this.selectedNode is always undefined.

Change-Id: Ia60661e22bf33bec7b863cefe35a6262c1a90c11
(cherry picked from commit c750849334ab18a448aa1597fa6b3e1f4703f32f)
Merge "Fix broken node change detection" into wmf/1.25wmf4