Maintain horizontal and vertical padding when setting background