Fix tablet switch mode from coming too early