fix hashchange canvas open