Set the Z-index for the background images