fixes minor resize bug in extreme mode