Check if the background is transparent with the new code