Fixed resizing issue.