fixes double-redraw on load