Updated CSS Background Image Logic