Removes old deprecated warning and simplify center()
Removes old deprecated warning and simplify center()

It also saved some time in the profiler avoiding check in center

cedricpinson/osgjs,jtorresfabra/osgjs,jtorresfabra/osgjs,cedricpinson/osgjs,jtorresfabra/osgjs,cedricpinson/osgjs