Fix bug on 848. resize substituting the incorrect style