Fix (though not sure why it was breaking in the first place) for disappearing layer on info page during resize