Improved remove_tiles().