keep transparency during resize && don't overwrite system settings

I did some updates to the code, maybe someone will be interested in those..