Fixes an issue with slices and background-repeat