Gold gains ground but remains vulnerable