Use refcount for Map::visible_surface since it is exported to Lua.