Proper clearing of references for drawables