Bug in Cart Widget

I have a sidebar in my shop using the cart widget. If I add some items to my cart and then click empty cart, the cart is empty, however when I refresh the page the items are all back.

Thanks