scene2D initialization now take width and height in the constructor not
in a separate method.