Closed #2795: Fixed a bug of cc.Node that nodeToWorldTransform returns wrong value on Canvas Mode and refactor menu_nodes's codes for performance.

Fixed a bug of cc.Node that nodeToWorldTransform returns wrong value on Canvas Mode and refactor menu_nodes's codes for performance.