Fix compact mode