How an improved implementation of H2 self-shielding influences the formation of massive stars and black holes