fixing small resize bug (attitude change on shift)