Fixing an issue that prevented the overlay controller from filling the entire view