Fixed view resizing issues.