Inhibition of dewetting of thin polymer films