Fixed getImage when nodes aren't connected: it now returns a null pointer. All plugins with a mask now work again.