Updated SimpleRotate and updated window width and height during initalisation.