Effect of disorder close to the superfluid transition in a two-dimensional Bose gas