Modified resize bug.