fixed not updating canvas rect