Fix for #132 and the cart not redrawing on bfcache redraws