fix regression which does not update proper osd size