Only return a GridLayout from the Stack.sample method when necessary