Small resize bug fixed