Only check transparency if transparent isnt set