fix node size bug on some monitors

There was a bug with some monitors where the nodes from the swc would be rendered too small if the devicePixelRatio > 1.