added hack to force redraw in chrome