Apply gray scale filter to not selected nodes and connections

When changing opacity we face issue with background and border are being rendered twice, so on some nodes we will have the following effect.