only highlight open paths in the current active layer
Merge pull request #329 from monkeyiq/2013feb/issueforpull278

only highlight open paths in the current active layer