Added screenwidth and height passing for the graphics manager