Tablet mode fixes