Fixed caching and redraw of bitmap shape renderer