Made sure background was always centered