fixed removeComponentFromView bug