fix visual glitch with entire body when resizing window