Fixes title resizing issue.