Fixed layout to handle the case where full screen is not specified.