fixed live update
fixed drawing in chrome