Use #defines instead of static ints
NodeGui : better Z values + Fixed a bug where the snap to node would
not take into account the real size of the node.