Optimize and cleanup DisplayObject