fixed the issue with copying drawables.