added an argument for setting viewport to ramBeginCamera