This is very interesting. Anyway, it seems to be an issue with NW.js itself, we're unable to help here. I would recommend sending this to NW.js issue tracker.
There is a similar issue on their github already https://github.com/nwjs/nw.js/issues/6152. Gonna try and see if they can sort out this bug. Thanks for the help tho.