Adjusted background renderer to properly fill the container