Fix #987: show with proper maximize state