Workaround rogerwang/node-webkit#2247