added offset so size of viewport matches size set