fixed problem with nodes leaving the screen on desktop