Shorefast ice formation and the fall feeding season for polar bear

What may seem like a silly question is actually fundamental to polar bear survival: in the fall, why do Western Hudson Bay bears correctly expect to find seals in the new ice that forms offshore? Why are seals attracted to that new ice – called ‘shorefast ice’ or ‘fast ice’ – when they would clearly be safer out in the open water where there is no ice and no bears?