Replace display::image's direct SDL surface access with a function