Fix small resize issue