Canvas refresh fixed on sign in and sign out.